/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.checkbreed.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.checkbreed.entity.TpCheckBreed;
import com.thinkgem.jeesite.modules.checkbreed.dao.TpCheckBreedDao;

/**
 * 审定品种管理Service
 * @author 王虎
 * @version 2017-03-10
 */
@Service
@Transactional(readOnly = true)
public class TpCheckBreedService extends CrudService<TpCheckBreedDao, TpCheckBreed> {

	public TpCheckBreed get(String id) {
		return super.get(id);
	}
	
	public List<TpCheckBreed> findList(TpCheckBreed tpCheckBreed) {
		return super.findList(tpCheckBreed);
	}
	
	public Page<TpCheckBreed> findPage(Page<TpCheckBreed> page, TpCheckBreed tpCheckBreed) {
		return super.findPage(page, tpCheckBreed);
	}
	
	@Transactional(readOnly = false)
	public void save(TpCheckBreed tpCheckBreed) {
		super.save(tpCheckBreed);
	}
	
	@Transactional(readOnly = false)
	public void delete(TpCheckBreed tpCheckBreed) {
		super.delete(tpCheckBreed);
	}
	
}